import request from '@/utils/request.js'

const prefix = '/api/nbot/login'

const Check = () => {
	return request({
		url: prefix + '/check',
	})
}

const Auth = (code) => {
	return request({
		url: prefix + '/Auth?code=' + code,
		method: 'post',
		
	})
}


export default {
	Check,
	Auth
}
